/**   
* @Title: ScmInvocingUnitInfoServiceImpl.java 
* @Package com.kerrykidz.scminvoicing.service.impl 
* @Description: 单位设置的service接口
* Copyright: Copyright (c) 2014 
* Company:wuwh team by iss
* @author: ScreenJxp   
* @date: 2014年8月11日 下午2:09:39 
* @version: V1.0
* update Release(文件修正记录)
* <pre>
* author--updateDate--description----------------------Flag————
* wuwh    2014-5-1    测试codesyle                      #wuwh001
*
*
*
* </pre>
*
*/
package com.kerrykidz.scminvoicing.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.kerrykidz.scminvoicing.dao.mapper.GblScmPrdUnitEntityMapper;
import com.kerrykidz.scminvoicing.dao.model.GblScmPrdUnitEntity;
import com.kerrykidz.scminvoicing.service.IScmInvocingUnitInfoService;
import com.rdp.framework.exception.RDPException;
@Service
public class ScmInvocingUnitInfoServiceImpl implements IScmInvocingUnitInfoService {
	@Autowired
	private GblScmPrdUnitEntityMapper unitMapper;
	public List<GblScmPrdUnitEntity> findUnitInfo(GblScmPrdUnitEntity entity)
			throws RDPException {
		
		return unitMapper.findUnitInfo(entity);
	}
	public void saveUnit(GblScmPrdUnitEntity entity) throws RDPException {
	
		unitMapper.saveUnit(entity);
	}
	public void updateUnit(GblScmPrdUnitEntity entity) throws RDPException {
		unitMapper.updateUnit(entity);
	}
}
